export const version = 190

export const imiator_prefix = '/easy-mock'

// 如果的打开，将在开发环境下也无视所有的imitator请求；用于提测前的校对
export const ignore_imtator = false

const devlopment = process.env.NODE_ENV == 'development'
const testing = process.env.NODE_ENV == 'testing'

let _base_report_url, _base_article_h5_url, _base_article_pc_url
if (devlopment || testing) {
    _base_report_url = `http://daily.test.fangxin.com/#/Article?article_id=`
    _base_article_h5_url = `http://daily.test.fangxin.com/#/CmuUGCArticleDetail?topid=`
    _base_article_pc_url = `http://10.1.120.196:8080/`
} else {
    _base_report_url = `https://m.fangxin.com/#/Article?article_id=`
    _base_article_h5_url = `https://m.fangxin.com/#/CmuUGCArticleDetail?topid=`
    _base_article_pc_url = `https://fangxin.com/article/detail/` // ~${id}.html
}

export const base_report_url = _base_report_url
export const base_article_h5_url = _base_article_h5_url
export const base_article_pc_url = _base_article_pc_url
